Skip to content

Add cJSON dependency to Tab5 platform#132

Merged
baba-dev merged 1 commit into
mainfrom
codex/add-cjson-dependency-to-project
Sep 20, 2025
Merged

Add cJSON dependency to Tab5 platform#132
baba-dev merged 1 commit into
mainfrom
codex/add-cjson-dependency-to-project

Conversation

@baba-dev
Copy link
Copy Markdown
Owner

Summary

  • add the cjson component requirement to the Tab5 platform's build manifest
  • register the cjson dependency in the component's CMake definition so it links during builds

Testing

  • idf.py build (fails: command not found: idf.py in container environment)

https://chatgpt.com/codex/tasks/task_e_68ce4d69e7dc8324b467e13f9ed471bc

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

Comment on lines 10 to +11
espressif/esp_lcd_ili9881c: ^1.0.1
cjson: '*'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Resolve cJSON dependency with proper namespace

The manifest lists the new dependency as cjson: '*', but the component manager expects registry components to be fully qualified (e.g. espressif/cjson). With the current key there is no local component named cjson, so idf.py build will fail when the manager attempts to resolve this dependency. Keep the CMake REQUIRES cjson entry, but change the manifest to reference espressif/cjson (or drop the entry entirely if relying on the built‑in IDF component).

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codex fix comments

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

  • Updated the Tab5 platform manifest to reference the cJSON dependency via the fully qualified espressif/cjson namespace so the component manager can resolve it correctly. platforms/tab5/main/idf_component.ymlL1-L25

Testing

  • ⚠️ idf.py lint (fails: command not found: idf.py in container environment)

View task →

@baba-dev baba-dev merged commit e44e95a into main Sep 20, 2025
1 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant